﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 电流档
    /// </summary>
    public class VBinningCurrent : BaseVModel
    {
        private string _levelName = string.Empty;

        #region Public Property

        ///<Summary>
        /// 规则ID
        ///</Summary>
        public int SchemaId { get; set; }

        ///<Summary>
        /// 功率档ID
        ///</Summary>
        public int PowerId { get; set; }

        ///<Summary>
        /// 档位名称
        ///</Summary>
        public string LevelName
        {
            get { return string.IsNullOrWhiteSpace(_levelName) ? string.Empty : _levelName; }
            set { _levelName = value; }
        }

        ///<Summary>
        /// 电流下限
        ///</Summary>
        public decimal CurrentMin { get; set; }

        ///<Summary>
        /// 电流上限
        ///</Summary>
        public decimal CurrentMax { get; set; }
        #endregion
    }
}
